package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.BusinessHighSeasDTO;
import com.qk.dto.business.BusinessQueryDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessQueryVO;
import com.qk.vo.business.BusinessVO;

import java.util.List;

/**
 *
 * @author lyl
 * @created 2025/10/15 11:47
 * @description
 *
 */

public interface BusinessService extends IService<Business> {
    PageResult<BusinessQueryVO> getListByPage(BusinessQueryDTO businessQueryDTO);

    void addBusiness(BusinessDTO businessDTO);

    void assignBusiness(Integer businessId, Integer userId);

    void backHighSeas(Integer id);

    BusinessVO getBusinessById(Integer id);

    void followBusiness(BusinessFollowDTO businessFollowDTO);

    PageResult<Business> getHighSeasList(BusinessHighSeasDTO businessHighSeasDTO);
}
